package com.oa.resources.controller;

/**
 * @program: zy-oa-Vue
 * @description: Test
 * @author: 庄霸.liziye
 * @create: 2022-05-27 09:58
 **/
public class Test {
    public static void main(String[] args) {
        String filePath = "D:/oa/uploadPath/upload";
        String url = "http://localhost:8080/profile/upload/2022/05/27/粮食局正分享_20220527095137A001.txt";

        System.out.println("url.indexOf(upload) = " + url.substring(url.indexOf("upload")+6, url.length()));
    }
}
